package testportal

class AppInstance {

	String name
	String description
	boolean active
	static hasOne = [environ : Environ, app : App]
	static hasMany = [appLinks : AppLink]

    static constraints = {
		name nullable: false
		description nullable: true
		active nullable: false, default: true
    }
	
	String toString() {
		return this.name
	}
}
